﻿
Partial Class Account_Login
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        RegisterHyperLink.NavigateUrl = "Register.aspx?ReturnUrl=" + HttpUtility.UrlEncode(Request.QueryString("ReturnUrl"))
    End Sub

    'Protected Sub LoginUser_Authenticate(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs) Handles LoginUser.Authenticate
    '    Dim txtUser As TextBox
    '    txtUser = LoginUser.FindControl("UserName")

    '    If txtUser.Text = "admin" Then
    '        Response.Redirect("~/NewCustomer.aspx")
    '    ElseIf txtUser.Text = "sq" Then
    '        Response.Redirect("~/Default.aspx")

    '    End If
    'End Sub


End Class